﻿using System.ComponentModel.DataAnnotations;

namespace LowCoding.Dto.Sys
{
    public class SysSpecificationsInput
    {
        public string SPE_ID { get; set; }

        public string CTG_PZID { get; set; }

        [Required(ErrorMessage = "规格代码不能为空")]
        [MaxLength(32, ErrorMessage = "规格代码输入字符过长")]
        public string SPE_CODE { get; set; }

        [Required(ErrorMessage = "规格名称不能为空")]
        [MaxLength(32, ErrorMessage = "规格代码输入字符过长")]
        public string SPE_NAME { get; set; }

        [MaxLength(32, ErrorMessage = "规格1输入字符过长")]
        public string SPE_STR1 { get; set; }

        [MaxLength(32, ErrorMessage = "规格2输入字符过长")]
        public string SPE_STR2 { get; set; }

        [MaxLength(32, ErrorMessage = "规格3输入字符过长")]
        public string SPE_STR3 { get; set; }

        [MaxLength(32, ErrorMessage = "规格4输入字符过长")]
        public string SPE_STR4 { get; set; }

        [MaxLength(32, ErrorMessage = "规格5输入字符过长")]
        public string SPE_STR5 { get; set; }

        [MaxLength(32, ErrorMessage = "规格6输入字符过长")]
        public string SPE_STR6 { get; set; }

        [MaxLength(32, ErrorMessage = "规格7输入字符过长")]
        public string SPE_STR7 { get; set; }

        [MaxLength(32, ErrorMessage = "规格8输入字符过长")]
        public string SPE_STR8 { get; set; }

        [MaxLength(32, ErrorMessage = "规格9输入字符过长")]
        public string SPE_STR9 { get; set; }

        [MaxLength(32, ErrorMessage = "规格10输入字符过长")]
        public string SPE_STR10 { get; set; }

        [MaxLength(32, ErrorMessage = "规格11输入字符过长")]
        public string SPE_STR11 { get; set; }

        [MaxLength(32, ErrorMessage = "规格12输入字符过长")]
        public string SPE_STR12 { get; set; }

        [MaxLength(32, ErrorMessage = "规格13输入字符过长")]
        public string SPE_STR13 { get; set; }

        [MaxLength(32, ErrorMessage = "规格14输入字符过长")]
        public string SPE_STR14 { get; set; }

        [MaxLength(32, ErrorMessage = "规格15输入字符过长")]
        public string SPE_STR15 { get; set; }

        [MaxLength(32, ErrorMessage = "规格16输入字符过长")]
        public string SPE_STR16 { get; set; }

        [MaxLength(32, ErrorMessage = "规格17输入字符过长")]
        public string SPE_STR17 { get; set; }

        [MaxLength(32, ErrorMessage = "规格18输入字符过长")]
        public string SPE_STR18 { get; set; }

        [MaxLength(32, ErrorMessage = "规格19输入字符过长")]
        public string SPE_STR19 { get; set; }

        [MaxLength(32, ErrorMessage = "规格20输入字符过长")]
        public string SPE_STR20 { get; set; }



        public DateTime CREATED { get; set; }

        public string CREATOR { get; set; }


        public DateTime LASTMODIFIED { get; set; }

        public string LASTMODIFIER { get; set; }


        public int VERSION { get; set; }

        public int ISDEL { get; set; }

        public string FLT_ID { get; set; }
    }
    /// <summary>
    /// 编辑输入模型
    /// </summary>
    public class SysSpecEditInput
    {
        public SysSpecificationsInput item { get; set; }
    }

    public class SearchSpecificationsInput
    {
        public int Page { get; set; }

        public int Limit { get; set; }

        /// <summary>
        /// 品种id
        /// </summary>
        public string PzId { get; set; }
    }
}
